// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-dialog__header {
  background-color: #fafafa;
  padding: 0 30px;
  height: 60px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
}

// 分页样式
.el-pager li {
  background-color: $tablePageLiColor;
  margin: 0 0.2rem;
  min-width: 30px;
  color: #606266;
}

.el-pager li.active {
  background-color: $tablePageLiActiveColor;
  color: #fff;
}

// 分页器下拉框样式
.el-select-dropdown__item.hover,
.el-select-dropdown__item:hover {
  // 分页器悬停颜色
  background-color: $hoverColour;
}

// table 悬停颜色
.el-table--enable-row-hover .el-table__body tr:hover>td {
  background-color: $hoverColour;
}

.el-dialog__header,
.el-dialog {
  border-radius: 4px;
}

.el-tree-node__content:hover {
  // 树形结构悬停颜色
  background-color: $hoverColour;
}

.el-input .el-input__count {
  color: #8c8c8c;
}

.el-textarea .el-input__count {
  color: #8c8c8c;
}

// 输入框 placeholder
.el-input__inner {
  &::placeholder {
    color: rgba(0, 0, 0, 0.5);
  }

  color: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.el-date-editor .el-range-input {
  &::placeholder {
    color: rgba(0, 0, 0, 0.5);
  }
}

.el-input.is-disabled .el-input__inner {
  background: rgba(0, 0, 0, 0.04);
}

.el-upload--picture-card {
  background-color: #FFFFFF;
}

// .el-tabs__nav-scroll {
//   background: #fafafa;
// }

.el-table th {
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background: rgba(0, 0, 0, 0.02);
  color: rgba(0, 0, 0, 0.85);
}

.el-pager li {
  background-color: transparent;
}

.el-pager li:hover {
  background-color: #FFF3E6;
}